Returns the value of a DICOM element
'Declaration
Public Overloads Function GetValue(Of )( _
ByVal As DicomElement, _
ByVal As , _
ByVal As GetValueDelegate _
) As
'Usage
Dim instance As DicomDataSet
Dim element As DicomElement
Dim defaultValue As
Dim getValueDelegate As GetValueDelegate
Dim value As
value = instance.GetValue(Of T)(element, defaultValue, getValueDelegate)
function Leadtools.Dicom.DicomDataSet.GetValue``1(DicomElement,``0,GetValueDelegate)(
element ,
defaultValue ,
getValueDelegate
)
public:
GetValuegeneric<typename >
(
DicomElement^ ,
,
GetValueDelegate^
)
Parameters
- element
- an item in the data set
- defaultValue
- a value of type T that is returned if the actual value cannot be retrieved.
- getValueDelegate
- an optional delegate that converts that extracted data to any type
Type Parameters
- T
- specifies the type of the value to return
Return Value
a value of type T that is the value of the DICOM element